package com.sbm.merge.设计模式.adapter;

public class AmericanChargerAdapter implements UniversalCharger{

    AmericanCharger americanCharger;


    public AmericanChargerAdapter(AmericanCharger americanCharger) {
        this.americanCharger = americanCharger;
    }

    @Override
    public int charge() {
        int i = americanCharger.supply110V();
        System.out.println(" 统一适配返回 120v");
        return i+10;
    }
}
